﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Test
{
    class Compute
    {
        // 加法
        public double Add(double num1,double num2)
        {
            return num1 + num2;
        }
        // 减法
        public double Min(double num1,double num2)
        {
            return num1 - num2;
        }
        //乘法
        public double Multiply(double num1,double num2)
        {
            return num1 * num2;
        }

        internal object Minus(double v)
        {
            throw new NotImplementedException();
        }

        // 除法
        public double Divide(double num1,double num2)
        {
            return num1 / num2;
        }

    }
}
